using star_questionnair.Models;

namespace star_questionnair.Services;

/// <summary>
/// 服务接口：处理选项相关业务逻辑
/// </summary>
public interface IOptionService
{
    void Save(Option option);
    Task SaveAsync(Option option);
    void RemoveById(int id);
    void RemoveByIds(List<int> ids);
    void UpdateById(Option option);
    Option GetById(int id);
    List<Option> SelectAll(Option option);
    int SelectMaxId();
}